package com.hisense.ovcloud.ps.dto.common;

import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OnAndOfflineDataToKafka {
    @JsonProperty("wifi_id")
    @Alias("wifi_id")
    private String wifiId;

    @JsonProperty("wifi_version")
    @Alias("wifi_version")
    private String wifiVersion;
    private String version = "1.0";

    @JsonProperty("wifi_status")
    @Alias("wifi_status")
    private String wifiStatus;

    @JsonProperty("owner_server")
    @Alias("owner_server")
    private String ownerServer;

    private List<DeviceVer> devVer;

    @JsonProperty("peer_addr")
    @Alias("peer_addr")
    private String peerAddr;

    @JsonProperty("net_id")
    @Alias("net_id")
    private String netId;

    private String time;

    @JsonProperty("status_time")
    @Alias("status_time")
    private String statusTime;
}
